const cmd = [
  {
    tag: /(打开|关闭|开启)(音效|音乐)/gi,
    action: 'soundServer.changeIsSoundOpen',
    type: 'sound'
  },
  {
    tag: /上(一|1)?(个|首|种)(音乐|音效)/gi,
    exec: (app, params) => {
      app.soundServer.changeSounds(-1)
    }
  },
  {
    tag: /下(一|1)?(个|首|种)(音乐|音效)/gi,
    exec: (app, params) => {
      app.soundServer.changeSounds(1)
    }
  },
  {
    tag: /(换(一|1)?个|切换)(音乐|音效)/gi,
    exec: (app, params) => {
      app.soundServer.changeSounds(1)
    }
  }
]
export default cmd
